/*
 * @Author: 陆成杰
 * @Date: 2022-06-27 10:23:14
 * @LastEditTime: 2022-06-27 15:41:28
 * @LastEditors: 陆成杰
 * @FilePath: /boe/src/axios/home.ts
 * Copyright (c) ${now_year} by zucc-陆成杰, All Rights Reserved. 
 */
import { request } from "./request";

export function getThree() {
    return request({
        url: '/home/count',
        method: 'get',
    })
}

export function getEvents() {
  return request({
      url: '/home/events',
      method: 'get',
  })
}

export function getDeviceState() {
  return request({
      url: '/home/device/state',
      method: 'get',
  })
}

export function getGroupCount() {
  return request({
      url: '/home/group/count',
      method: 'get',
  })
}



